package com.atguigu.product.service;

import com.atguigu.product.entity.AttrEntity;
import com.atguigu.product.vo.AttrCateVo;
import com.atguigu.product.vo.AttrVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author litong
 * @email 2943284183@qq.com
 * @date 2024-08-07 18:11:07
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils PageAttrIdAndKey(Map<String, Object> params,Long attrId,String type);

    void saveAttrVo(AttrVo attrVo);

    AttrCateVo getAttrAll(Long attrId);

    void updateAttr(AttrVo attrVo);

    List<AttrEntity> groupIdGetAttr(Long attrgroupId);

    PageUtils groupIdGetNoAttr(Long attrgroupId,Map<String, Object> params);
}

